OBJ = Singleton.o Observer.o

CFLAGS = -lpthread

all: Singleton Observer

$(OBJ): %.o:%.c
	gcc -c $(CFLAGS) $< -o $@

.PHONE: all

clean:
	-rm $(OBJ) Singleton Observer
